//
//  UserModel.h
//  OCQ_API_Test
//
//  Created by 故乡的云  on 2017/5/4.
//  Copyright © 2017年 故乡的云 . All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserModel : NSObject
@property(nonatomic, copy, readonly) NSString *navMenu;
@property(nonatomic, copy, readonly) NSString *businessUnitName;
@property(nonatomic, copy, readonly) NSString *roleId;
@property(nonatomic, copy, readonly) NSString *portraitUri;
@property(nonatomic, copy, readonly) NSString *myAvatarUrl;
@property(nonatomic, strong, readonly) NSArray *allMobileMenu;
@property(nonatomic, copy, readonly) NSString *imgBucketDomain;
@property(nonatomic, copy, readonly) NSString *allMenu;
@property(nonatomic, copy, readonly) NSString *latestVersion;
@property(nonatomic, copy, readonly) NSString *apkDownloadUrl;
@property(nonatomic, copy, readonly) NSString *token;
@property(nonatomic, copy, readonly) NSString *userId;
@property(nonatomic, copy, readonly) NSString *userName;
@property(nonatomic, copy, readonly) NSString *sessionId;
@property(nonatomic, copy, readonly) NSString *latestVersionName;
@property(nonatomic, copy, readonly) NSString *navMenu3_1;
@property(nonatomic, copy, readonly) NSString *organizationId;

/// 用户登录,初始化数据,默认：第一次获取实例时会自动登录
- (void)userLogin; // 优化：传入登录参数
/// 获取实例
+ (instancetype)sharedUserModel;
@end
